package his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("drugs")
public class Drugs {

    @TableId(value="ID",type = IdType.AUTO)
    private int ID;

    @TableField(value = "DrugsCode")
    private String DrugsCode;

    @TableField(value = "DrugsName")
    private String DrugsName;

    @TableField(value = "DrugsFormat")
    private String DrugsFormat;

    @TableField(value = "DrugsUnit")
    private String DrugsUnit;

    @TableField(value = "Manufacturer")
    private String Manufacturer;

    @TableField(value = "DrugsDosageID")
    private int DrugsDosageID;

    @TableField(value = "DrugsTypeID")
    private int DrugsTypeID;

    @TableField(value = "DrugsPrice")
    private BigDecimal DrugsPrice;

    @TableField(value = "MnemonicCode")
    private String MnemonicCode;

    @TableField(value = "CreationDate")
    private Date CreationDate;

    @TableField(value = "LastUpdateDate")
    private Date LastUpdateDate;

    @TableField(value = "DelMark")
    private int DelMark;

}
